package com.itheima.service;

import com.itheima.domain.Assignment;
import com.itheima.domain.User;
import com.itheima.domain.UserStudentAssignment;

import java.util.List;

public interface AssignmentService {
    /**
     * 展示
     */
    List<User> selectWork(Assignment assignment);

    /**
     * 发布
     */
    boolean publishWork(Assignment assignment);

    /**
     * 查询时间段未提交作业的学生以及次数
     */
    List<User> selectWorkCondition(UserStudentAssignment userStudentAssignment);
}
